package api

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"system/api-getaway/handler/request"
)

func Register(r *gin.Context) {
	var req request.Register
	err := r.ShouldBind(&req)
	if err != nil {
		r.JSON(http.StatusBadRequest, gin.H{
			"code":    400,
			"message": err.Error(),
		})
		return
	}
}
